package com.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.entity.CstService;
import com.service.cst_service_new_Service;

@Controller
public class CstServiceController {
	
	@Autowired
	private cst_service_new_Service Cst_service_new_Service;
	
	@RequestMapping("X-admin/jsp/cstnew.s")
	public String insertCst(CstService cst)throws Exception{
		Cst_service_new_Service.insertCst(cst);
		return "X-admin/jsp/cst_service_tasking";
	}
}
